package com.eshop.modules.user.service.dto;

import java.util.List;

public class BillOrderDto {
    private List<BillOrderRecordDto> child;
    private Integer count;
    private String time;

    /* access modifiers changed from: protected */
    public boolean canEqual(Object other) {
        return other instanceof BillOrderDto;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof BillOrderDto)) {
            return false;
        }
        BillOrderDto other = (BillOrderDto) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Integer this$count = getCount();
        Integer other$count = other.getCount();
        if (this$count != null ? !this$count.equals(other$count) : other$count != null) {
            return false;
        }
        String this$time = getTime();
        String other$time = other.getTime();
        if (this$time != null ? !this$time.equals(other$time) : other$time != null) {
            return false;
        }
        List this$child = getChild();
        List other$child = other.getChild();
        if (this$child == null) {
            if (other$child == null) {
                return true;
            }
        } else if (this$child.equals(other$child)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i = 43;
        Integer $count = getCount();
        int hashCode = $count == null ? 43 : $count.hashCode();
        String $time = getTime();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = $time == null ? 43 : $time.hashCode();
        List $child = getChild();
        int i3 = (i2 + hashCode2) * 59;
        if ($child != null) {
            i = $child.hashCode();
        }
        return i3 + i;
    }

    public void setChild(List<BillOrderRecordDto> child2) {
        this.child = child2;
    }

    public void setCount(Integer count2) {
        this.count = count2;
    }

    public void setTime(String time2) {
        this.time = time2;
    }

    public String toString() {
        return "BillOrderDto(time=" + getTime() + ", count=" + getCount() + ", child=" + getChild() + ")";
    }

    public String getTime() {
        return this.time;
    }

    public Integer getCount() {
        return this.count;
    }

    public List<BillOrderRecordDto> getChild() {
        return this.child;
    }
}
